package com.atguigu.gmall.pay.service;

import com.alipay.api.AlipayApiException;
import com.atguigu.gmall.pay.vo.PayParamsVo;
import com.fasterxml.jackson.core.JsonProcessingException;

public interface PayService {

    String payOrder(PayParamsVo payParamsVo) throws JsonProcessingException, AlipayApiException;

    Boolean queryOrderPayStatus(String outTradeNo) throws JsonProcessingException, AlipayApiException;

    void sendPaySuccessMessage(String out_trade_no) throws JsonProcessingException;

}
